#ifndef _MAIN_C_
#define _MAIN_C_
#include "include/ca51f005_config.h"		
#include "include/ca51f005sfr.h"
#include "include/ca51f005xsfr.h"
#include "include/gpiodef_f005.h"
#include "include/system_clock.h"
#include "include/uart.h"
#include "include/delay.h"
#include <intrins.h>
#include "include/flash.h"
#include "glh_app_process.h"

void main(void)
{
    GLHAPS_Init();
    EA = 1;
    
	while(1)
	{   
        GLHAPS_MainThread();
	}
}
#endif